package com.shxy.rlzy.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 部门奖金
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bonus_depart")
public class BonusDepart extends BaseEntity{
    @NotNull(message = "部门编号不能为空")
    private Long departId;      // 部门编号
    @NotNull(message = "部门奖金余额不能为空")
    private double remaining = 0;   // 部门奖金余额
}
